<div el-row type="flex" justify="end">
  <div el-col span="3">
    <el-button type="primary">新增</el-button>
  </div>
</div>
<div el-row>
  <el-table [model]="rules" [scroll-x]="true" center="all">
    <el-table-column model-key="id" label="规则编号">
    </el-table-column>
    <el-table-column model-key="name" label="规则名称">
    </el-table-column>
    <el-table-column model-key="corn" label="Corn表达式"></el-table-column>
    <el-table-column model-key="expression" label="expression"></el-table-column>
    <el-table-column model-key="appId" label="平台编号"></el-table-column>
    <el-table-column model-key="during" label="触发间隔"></el-table-column>
    <el-table-column model-key="matchDuring" label="匹配间隔"></el-table-column>

    <el-table-column label="操作">
      <ng-template #slot let-scope="scope">
        <el-button-group>
          <el-button type="primary" icon="edit" size="small">编辑</el-button>
          <el-button type="warning" icon="delete" size="small" (click)="doDelete(scope.rowData)">删除</el-button>
        </el-button-group>
      </ng-template>
    </el-table-column>
  </el-table>
</div>
